Skip to content

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

@microbit-matt-hillsdon microbit-matt-hillsdon commented Mar 24, 2025

Fixes #300

I added a video of the previous behaviour to the issue.

@microbit-grace also discovered that right clicking on a block that was moved by scroll into view closed the context menu so that's another reason not to do this for mouse interactions.

Alternatives: I did consider moving this to explicit code in the actions but it seems easy to miss keyboard nav cases that way (e.g. non directional actions that change the cursor like delete).

@microbit-matt-hillsdon microbit-matt-hillsdon requested a review from a team as a code owner March 24, 2025 13:37
@microbit-matt-hillsdon microbit-matt-hillsdon requested review from RoboErikG and removed request for a team March 24, 2025 13:37
@rachel-fenichel rachel-fenichel merged commit 4ff2247 into RaspberryPiFoundation:main Mar 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scroll-into-view shouldn't happen with mouse-only interaction

2 participants